/*
 * @Author: c
 * @Date: 2023-12-03 02:18:10
 * @LastEditTime: 2024-01-06 18:04:47
 * @LastEditors: c
 * @Description: 
 * @FilePath: \music-web-backend\src\core\user\user.module.ts
 * https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Module, forwardRef } from '@nestjs/common';
import { UserService } from './user.service';
import { UserController } from './user.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Test } from '@nestjs/testing';
import { User } from './entities/user.entity';
import { UserRole } from './entities/user_role.entity';
import { ExcelService } from 'src/common/service/excel.service';
import { RolesService } from '../roles/roles.service';
import { RolesModule } from '../roles/roles.module';

@Module({
  imports:[ 
    TypeOrmModule.forFeature([User,UserRole]),
    forwardRef(() => RolesModule)
  ],
  controllers: [UserController],
  providers: [UserService],
  exports: [UserService]
})
export class UserModule {}
